using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class Apdet
    {
        public string INVNO { get; set; }
        public int TRANSID { get; set; }
        public string ITEM { get; set; }
        public string PAYEE { get; set; }
        public double PERC { get; set; }
        public Nullable<short> CURRENCY { get; set; }
        public double AMOUNT { get; set; }
        public Nullable<System.DateTime> DATE { get; set; }
        public bool ADDED { get; set; }
        public bool CHANGED { get; set; }
        public double OLDAMOUNT { get; set; }
        public string OLDSTAFFID { get; set; }
        public bool IDCHANGED { get; set; }
        public double DUEG1ACCT { get; set; }
        public double DUEG2ACCT { get; set; }
        public byte STAFFTYPE { get; set; }
        public string TYPE { get; set; }
        public string File_Primary_Key { get; set; }
        public double APPROVED_DUEG1ACCT { get; set; }
        public double APPROVED_DUEG2ACCT { get; set; }
        public int APDet_ID { get; set; }
        public virtual currency currency1 { get; set; }
        public virtual Item Item1 { get; set; }
        public virtual Oe Oe { get; set; }
        public virtual Oe Oe1 { get; set; }
        public virtual Oedet Oedet { get; set; }
        public virtual Vend Vend { get; set; }
    }
}
